package com.tanhua.common.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tanhua.common.pojo.User;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper extends BaseMapper<User> {
    @Select("select id,mobile from tb_user where id = #{id}")
    User selectPhoneById(Long id);
}
